/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.regulation.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.regulation.entity.RulesRegulations;
import com.jeeplus.modules.regulation.mapper.RulesRegulationsMapper;

/**
 * 规章制度Service
 * @author 刘明星
 * @version 2020-12-08
 */
@Service
@Transactional(readOnly = true)
public class RulesRegulationsService extends CrudService<RulesRegulationsMapper, RulesRegulations> {

	public RulesRegulations get(String id) {
		return super.get(id);
	}
	
	public List<RulesRegulations> findList(RulesRegulations rulesRegulations) {
		return super.findList(rulesRegulations);
	}
	
	public Page<RulesRegulations> findPage(Page<RulesRegulations> page, RulesRegulations rulesRegulations) {
		return super.findPage(page, rulesRegulations);
	}
	
	@Transactional(readOnly = false)
	public void save(RulesRegulations rulesRegulations) {
		super.save(rulesRegulations);
	}
	
	@Transactional(readOnly = false)
	public void delete(RulesRegulations rulesRegulations) {
		super.delete(rulesRegulations);
	}
	
}